import os
#i123123e
def bencode_int(txt,idx):
    idx+=1;
    int_end=txt.index('e')
    pass
#4:qwee
def bencode_str(txt,idx):
    pass
#d:4:qweei4324ee
def bencode_dict(txt,idx):
    pass
#li234234ei234234243e    
def bencode_list(txt,idx):
    pass

def bencode(content):
    pass

def readFile(str):
    bt_file=open(str,'r')
    bt_content=bt_file.read()
    bencode(bt_content)kan kan  